home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / intuisup.lha / Intuisup / source.lha / Texts / makefile < prev    next >
Makefile  |  1992-10-21  |  1KB  |  43 lines

  1. #
  2. #        Makefile for Texts (Aztec C v5.2a)
  3. #
  4. # Macros
  5. #
  6. #DEFINES    =-dMWDEBUG
  7. DEFINES    =
  8. CFLAGS_PRE =-a -ms -pacs0t -so -wdelopqw -ho ram:texts.pre
  9. CFLAGS_TEST=$(DEFINES) -ms -pacs0t -so -wdelopqw -hi ram:texts.pre
  10. CFLAGS_LIB =$(DEFINES) -msb -pacs0t -so -wdelopqw -hi ram:texts.pre
  11. LFLAGS     =-m +q
  12. INCLUDES   =/render/render.h /language/language.h texts.h
  13. OBJECTS    =texts.o texts_test.o /render/render.o /borders/borders.o\
  14.  /gadgets/gadgets1.o /gadgets/gadgets2.o /gadgets/gadgets3.o\
  15.  /gadgets/gadgets4.o /requester/requester.o /files/files1.o /files/files2.o\
  16.  /language/language.o /pointer/pointer.o
  17. #LIBRARIES  =-lmemwatch16 -lc16
  18. LIBRARIES  =-lc16
  19. #
  20. # Dependancy entries
  21. #
  22. all: ram:texts.pre texts_test clear
  23. #
  24. ram:texts.pre: texts.pre
  25.    copy texts.pre $@ clone
  26. #
  27. texts.pre: includes.h
  28.    cc $(CFLAGS_PRE) -o nil: includes.h
  29.    copy ram:texts.pre $@ clone
  30. #
  31. texts_test: $(OBJECTS)
  32.    ln $(LFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
  33. #
  34. texts_test.o: texts_test.c $(INCLUDES)
  35.    cc $(CFLAGS_TEST) -o $@ $*.c
  36. #
  37. texts.o: texts.c $(INCLUDES)
  38.    cc $(CFLAGS_LIB) -o $@ $*.c
  39. #
  40. clear:
  41.    delete ram:#?.pre
  42. #
  43.